package com.dhq.bean;

import org.apache.solr.client.solrj.beans.Field;

/**
 * 商品dao
 */
public class Product {
	
	@Field(value="id")
	private int id;
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public float getPrice() {
		return price;
	}

	public void setPrice(float price) {
		this.price = price;
	}
	@Field(value="name")
	private String name;
	@Field(value="description")
	private String desc;
	@Field(value="price")
	private float  price;
	
	

}
